import apiClient from './index'

export const selectClinicalResultByPatientId = (patientId: number) => {
  return apiClient.get(`/clinicalObservation/results/${patientId}`)
};

export const createClinicalResult = (clinicalResult: object) => {
  return apiClient.post("/clinicalObservation", clinicalResult);
};